package basic.com.liz.learn.design.builder;

import java.util.List;

import basic.com.liz.learn.design.factory.Sender;

public class BuilderTest
{
    
    public static void main(String[] args)
    {
        Builder builder = new Builder();
        builder.produceMailSender(2);
        List<Sender> ss = builder.produceSmsSender(4);
        
        for (Sender s : ss)
        {
            s.send();
        }
    }
    
}
